Get rid of stupid g_return_if_fail on digits greater than 6. If there
authorHavoc Pennington <hp@redhat.com>
Mon, 4 Jun 2001 22:32:10 +0000 (22:32 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Mon, 4 Jun 2001 22:32:10 +0000 (22:32 +0000)
commit5c7c11cec85fd1a35644b3bd1d591c7ac886ecbb
tree9c2664597f830d1fe800b19f56766c4fb842342b
parent2d1f353aa4253679b6125453e645991e59a0d5ce
Get rid of stupid g_return_if_fail on digits greater than 6. If there

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkspinbutton.c: Get rid of stupid g_return_if_fail on
digits greater than 6. If there actually are limits (which there
likely aren't), should clamp to them not warn.
(gtk_spin_button_new_with_range): don't take log of 0
(gtk_spin_button_size_request): use digits to compute size
request, rather than step increment.

* tests/testgtk.c (create_spins): test larger values of digits

* gtk/gtkfontsel.c (gtk_font_selection_init): scroll to selected
font on map not expose, so we don't get weirdness during scrolling
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfontsel.c
gtk/gtkspinbutton.c
tests/testgtk.c